package com.bustle.order.dto.account;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

import com.bustle.user.dto.user.UserDto;

@XmlRootElement(name = "account")
public class AccountDto
{
  public int getId()
  {
    return id;
  }

  public void setId(int aId)
  {
    id = aId;
  }

  public Date getCreationDate()
  {
    return creationDate;
  }

  public void setCreationDate(Date aCreationDate)
  {
    creationDate = aCreationDate;
  }

  public UserDto getUser()
  {
    return user;
  }

  public void setUser(UserDto aUser)
  {
    user = aUser;
  }

  protected int id;
  protected Date creationDate;
  protected UserDto user;
}
